#pragma once


#include <guichan.hpp>
#include "LSListWnd_t.h"

class chooseRoleWndListener_t : public gcn::ActionListener
{
	bool action(const gcn::ActionEvent& actionEvent);
};

class chooseRoleWnd_t
{
public:
	static void init(gcn::Gui* gui);
	static void release();

public:
	static gcn::Gui* gui; 
	static chooseRoleWndListener_t* listener;
	static gcn::Window* wnd;
	static gcn::Window* choWnd;

// 	static gcn::Icon* backIcon;
// 	static gcn::Image* backImage;

	static gcn::Button* btnOK; 
	static gcn::Button* btnCancel;
	static gcn::Button* btnCreate; 
	static gcn::Button* btnDelRole; 

	static LSListModel_t* listInfo;
	static gcn::ListBox* roleList;

	static gcn::Label* lblChooseFrame;
	static gcn::Label* lblName;
	static gcn::Label* lblSex;
	static gcn::Label* lblLevel;

	static gcn::Label* lblNameValue;
	static gcn::Label* lblSexValue;
	static gcn::Label* lblLevelValue;

	static gcn::cartoonPic* picBoy;
	static gcn::cartoonPic* picGirl;

	enum OK_BTN_TAG
	{
		OK_BTN_TAG_NONE,
		OK_BTN_TAG_DEL_ROLE,
		OK_BTN_TAG_EXIT,
		OK_BTN_TAG_MAX,
	};
	static int okBtnTag;
};
